package com.coska;

/**
 * 测试单表插入
 */
public class Main {


    public static void main(String[] args) {
        long begin = System.currentTimeMillis();
        for (int i = 0; i < 10; i++) {//10个线程
            new InsertTest().start();
        }

        while (true){
            if (InsertTest.count == 10) {
                long end = System.currentTimeMillis();
                System.out.println((end - begin)/1000.0 + "s");
                break;
            }
        }


    }
}
